package cn.zhentao.filter;

import jakarta.servlet.*;
import jakarta.servlet.annotation.*;

import java.io.IOException;

@WebFilter("/a")
public class BFilter implements Filter {

    @Override
    public void doFilter(ServletRequest request, ServletResponse response, FilterChain chain) throws ServletException, IOException {
        System.out.println("BFilter....");
        chain.doFilter(request, response);
        System.out.println("BFilter放行了");
    }
}
